projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02219b6
)
modules/freifunk: Try to get the location from /etc/config/freifunk if it isn't found...
author
Manuel Munz
<
[email protected]
>
Sun, 28 Aug 2011 10:29:33 +0000
(10:29 +0000)
committer
Manuel Munz
<
[email protected]
>
Sun, 28 Aug 2011 10:29:33 +0000
(10:29 +0000)
modules/freifunk/luasrc/view/freifunk/contact.htm
patch
|
blob
|
history
diff --git
a/modules/freifunk/luasrc/view/freifunk/contact.htm
b/modules/freifunk/luasrc/view/freifunk/contact.htm
index 0d917ad5b674cf2a5548cadaab702c0242cc8679..1ebbf69f71054fc13f7681ac38df6ecdbc41fb5f 100644
(file)
--- a/
modules/freifunk/luasrc/view/freifunk/contact.htm
+++ b/
modules/freifunk/luasrc/view/freifunk/contact.htm
@@
-17,7
+17,7
@@
$Id$
<%
local uci = require "luci.model.uci".cursor()
local contact = uci:get_all("freifunk", "contact")
-local location = uci:get_first("system", "system", "location")
+local location = uci:get_first("system", "system", "location")
or contact.location
local lon = uci:get_first("system", "system", "longitude")
local lat = uci:get_first("system", "system", "latitude")
%>